
<%
	HttpSession httpSession = request.getSession();
	Employee employee = (Employee) session.getAttribute("user");
	if (employee == null || employee.getRole() == null) {
		response.sendRedirect("errorLogin.jsp");
	}
%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.msti.entity.Employee"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<a href="adminPage.jsp">Home</a>
<form action="createCourse.do" method="post">course name :<input
	type="text" name="name" /><br />
course fee :<input type="text" name="fee" /><br />
course name in Shorten :<input type="text" name="shortName" /><br />
course duration in months:<input type="text" name="duration" /><br />
center name: <select name="center">
	<option >OTC</option>
	<option >RTC</option>
</select> <input type="submit" value="Create Course"></form>
</body>
</html>